package com.xiaoyuanxing.demo.service;

import com.github.pagehelper.Page;
import com.xiaoyuanxing.demo.entity.School;

import java.util.List;

/*
 **@author LuoShengYing
 **@date 2021/5/23
 */
public interface SchoolService {

    // 查询所有的School数据
    Page<School> getAllSchools(int pageNum, int pageSize);

    // 通过schoolID，查询该校所有的院系
    List<String> getCollegesBySchoolID(int schoolID);

    // 通过schoolID，查询对应的schoolName
    String getSchoolNameBySchoolID(int schoolID);

}
